export function filterNodes(obj: any) {
    Object.keys(obj).forEach((key: string) => {
        let value = obj[key];
        if (value === '' || value === null || value === undefined) {
            delete obj[key]
        }
    })
    return obj
}